package com.yilin.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.platform.base_core.application.BaseEntity;
import com.yilin.platform.entity.capital.TradeFlow;
import com.yilin.platform.entity.pab.PabTradeRecord;

import java.util.List;

public interface ITradeFlowService extends IService<TradeFlow> {
    TradeFlow getTradeFlowByTradeNoType(String tradeNo, TradeFlow.PaymentType paymentType);

    <T extends BaseEntity> TradeFlow[] generateTradeFlows(String tradeName, TradeFlow.PayType PayType, T tradeRecord);

}
